package com.huabo.contract.oracle.entity;

import java.math.BigDecimal;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * <p>
 * 
 * </p>
 *
 * @author huabo
 * @since 2022-03-23
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("TBL_LEGAL_FROZENACCOUNT")
@ApiModel(value="TblLegalFrozenaccount对象", description="")
public class TblLegalFrozenaccount implements Serializable {
//账户冻结
    private static final long serialVersionUID = 1L;

      @TableId("INFORID")
      @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select HIBERNATE_SEQUENCE.nextval from dual")
      private Integer inforid;

    @TableField("PROCEEDINFO")
    private Integer proceedinfo;

    @TableField("CREATETIME")
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createtime;

    @TableField("CREATESTAFF")
    private BigDecimal createstaff;

    @TableField("LINKORG")
    private BigDecimal linkorg;

    @TableField("FROZENBLANK")//被冻结账户开户行：
    private String frozenblank;

    @TableField("FROZENACCOUNT")//被冻结账户账户
    private String frozenaccount;

    @TableField("APPLYAMOUNT")//申请冻结金额（元）
    private BigDecimal applyamount;

    @TableField("FROZENAMOUNT")//实际被冻结金额（元）
    private BigDecimal frozenamount;

    @TableField("KOUHUAAMOUNT")//，被扣划金额（元）
    private BigDecimal kouhuaamount;

    @TableField("ACCOUNTNATURE")//账户性质
    private String accountnature;

    @TableField("STARTDATE")
    @JSONField(format = "yyyy-MM-dd")//冻结起始日
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startdate;

    @TableField("ENDDATE")
    @JSONField(format = "yyyy-MM-dd")//冻结期届满日
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date enddate;

    @TableField("FROZENMEMO")//备注
    private String frozenmemo;
    //对应TBL_STAFF的realname
    @Transient
    private String realname;
    //映射TblLegalProceedingsrecord
    @Transient
    private BigDecimal maxApplyAmount;
    @Transient
    private BigDecimal minFrozenAmount;
    @Transient
    private BigDecimal minKouhuaAmount;



    @Transient
    private String fixedphone;//固定电话
    @Transient
    private String address;//地址
    @Transient
    private String email;//邮箱
    @Transient
    private String miblephone;//手机号码
    @Transient
    private String memo;//备注
    @Transient
    private String username;//用户名（登录名）
    @Transient
    private String password;//密码
    @Transient
    private BigDecimal jobid;//岗位ID
    @Transient
    @JSONField(format = "yyyy-MM-dd")
    private Date createDate;
    @Transient
    private Integer status;//状态（1启用，0弃用）

    @Transient
    private BigDecimal orgid;//组织Id
    @Transient
    private Integer outSideId; //标识用户来源 为null是本系统，1：蜂信，2,蜂信购买后的用户   3：华博云系统注册用户管理员  以后可能为2,3...来表示其它来源
    @Transient
    private String outSideOpenId; //外部同步企业来源Id
    @Transient
    private String orgName;
    @Transient
    private String jobName;
    @Transient
    private String orgFatherName;
    @Transient
    private String rn;
    @Transient
    private String checked;


    @Transient
    private Integer proceedid;
    @Transient
    private String proceedno;//案号
    @Transient
    private String porceedstage;//诉讼阶段
    @Transient
    private String court;//审理法院
    @Transient
    private String courtlink;
    @Transient
    private String courtcontact;
    @Transient
    @JSONField(format = "yyyy-MM-dd")
    private Date filingtime;
    @Transient
    @JSONField(format = "yyyy-MM-dd")
    private Date paymentremindtime;
    @Transient
    @JSONField(format = "yyyy-MM-dd")
    private Date openingtime;
    @Transient
    @JSONField(format = "yyyy-MM-dd")
    private Date judgetiem;
    @Transient
    private BigDecimal isexternallawyer;
    @Transient
    private String lawyearword;
    @Transient
    private String lawyearname;
    @Transient
    private String lawyearlink;
    @Transient
    private BigDecimal litigationinfo;
    @Transient
    private String negotiator;
    @Transient
    private String negotiatorlink;
    @Transient
    private String presedingjudge;
    @Transient
    private String casepromotion;
    @Transient
    private String existingdifficulties;
    @Transient
    private String measurespromote;


    //映射TblLegalDisputregistration
    @Transient
    private Integer disputeid;
    @Transient
    private String disputeno;
    @Transient
    private BigDecimal disputestatus;
    @Transient
    private String disputetype;
    @Transient
    private BigDecimal contractinfo;
    @Transient
    private String disputecours;
    @Transient
    private BigDecimal isuegent;
    @Transient
    private BigDecimal whethersued;
    @Transient
    private BigDecimal disputeundertaker;
    @Transient
    private LocalDateTime lastdealdate;
    @Transient
    private String solutionsuggestions;
    @Transient
    private String plaintiff;//原告
    @Transient
    private String defendant;//被告
    @Transient
    private String attorney;
    @Transient
    private String attorneyphont;
    @Transient
    private BigDecimal dispuinfo;
    @Transient
    private String disputeitem;//纠纷主题
    @Transient
    private BigDecimal isattorney;
    @ApiModelProperty(value = "贵安配合人员")
    @Transient
    private String coordination;
    @ApiModelProperty(value = "贵安纠纷登记-案由")
    @Transient
    private String casecause;
    @ApiModelProperty(value = "贵安纠纷登记-涉诉项目")
    @Transient
    private String ssproject;
    @ApiModelProperty(value = "贵安纠纷登记-管辖法院（仲裁机构）")
    @Transient
    private String courtfirst;
    @ApiModelProperty(value = "贵安纠纷登记-诉讼金额")
    @Transient
    private BigDecimal litigationamount;
    @ApiModelProperty(value = "贵安纠纷登记-发生时间")
    @Transient
    private LocalDateTime occurrencetime;
    @ApiModelProperty(value = "贵安纠纷登记-涉及子公司")
    @Transient
    private String subsidiaries;
}
